<template>
<view>
<view class="shipped-list">
  <view class="shipped-left fl">
    <view class="checkbox left-col" @tap="changepic">
      <view :data-index="index">
        <image src="/static/remao_shop/img/weixuanzhong_icon.png"></image>
      </view>
      <view :class="'showhidden brighthide' + (showView?'brightshow':'')" :data-index="index">
        <image src="/static/remao_shop/img/xuanzhong_icon.png"></image>
      </view>
    </view>
    <view class="shipped-img">
      <image></image>
    </view>
  </view>
  <view class="shipped-right fr">
    <view class="right-tit">
      <text>素野水光保湿雪肌光泽面膜贴30片玻尿酸补水保湿亮肤锁水正品</text>
    </view>
    <view class="price-warp">
      <view class="price fl">
        <text>￥</text>
        <text>129.00</text>
      </view>
      <view class="shipped-state fr">已发货</view>
    </view>
  </view>
</view>
<view class="shipped-list">
  <view class="shipped-left fl">
    <view class="checkbox left-col" @tap="changepic">
      <view :data-index="index">
        <image src="/static/remao_shop/img/weixuanzhong_icon.png"></image>
      </view>
      <view :class="'showhidden brighthide' + (showView?'brightshow':'')" :data-index="index">
        <image src="/static/remao_shop/img/xuanzhong_icon.png"></image>
      </view>
    </view>
    <view class="shipped-img">
      <image></image>
    </view>
  </view>
  <view class="shipped-right fr">
    <view class="right-tit">
      <text>素野水光保湿雪肌光泽面膜贴30片玻尿酸补水保湿亮肤锁水正品</text>
    </view>
    <view class="price-warp">
      <view class="price fl">
        <text>￥</text>
        <text>129.00</text>
      </view>
      <view class="shipped-state fr">已发货</view>
    </view>
  </view>
</view>
<view class="shipped-list">
  <view class="shipped-left fl">
    <view class="checkbox left-col" @tap="changepic">
      <view :data-index="index">
        <image src="/static/remao_shop/img/weixuanzhong_icon.png"></image>
      </view>
      <view :class="'showhidden brighthide' + (showView?'brightshow':'')" :data-index="index">
        <image src="/static/remao_shop/img/xuanzhong_icon.png"></image>
      </view>
    </view>
    <view class="shipped-img">
      <image></image>
    </view>
  </view>
  <view class="shipped-right fr">
    <view class="right-tit">
      <text>素野水光保湿雪肌光泽面膜贴30片玻尿酸补水保湿亮肤锁水正品</text>
    </view>
    <view class="price-warp">
      <view class="price fl">
        <text>￥</text>
        <text>129.00</text>
      </view>
      <view class="shipped-state fr">已发货</view>
    </view>
  </view>
</view>
</view>
</template>

<script>

export default {
  data() {
    return {
      showView: true
    };
  },

  components: {},
  props: {},

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {},

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {},

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {},

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {},

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {},

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {},

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {},

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {},
  methods: {
    changepic: function (e) {
      var index = parseInt(e.currentTarget.dataset.index);
      var that = this;
      that.setData({
        showView: !that.showView
      });
    }
  }
};
</script>
<style>
@import "./shipped.css";
</style>